package com.lovebridge;

import javax.servlet.http.HttpServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletConfig;

/**
 *
 */
public class InitServlet extends HttpServlet {
    public void init(ServletConfig config) throws ServletException {
        super.init(config);
        SystemManager.initJDBC(config.getInitParameter("driver"),config.getInitParameter("jdbcUrl"),config.getInitParameter("userName"),config.getInitParameter("password"));
        SystemManager.renew();
      }
    
}
